Search
Utilities.pointInPolygon Method
See Also
 






Checks if the specified point is inside the polygon defined by the specified array of points.

Namespace: com.mindfusion.charting
File: com.mindfusion.charting

 Syntax

Java  Copy Code

public static boolean pointInPolygon (
    Point2D[] poly,
    Point2D ptTest
)

 Parameters

poly

An array with Point2D instances that define the polygon.

ptTest

The Point2D to check.

 Return Value

true if the point is inside the polygon; otherwise false.

 See Also